package com.lancoo.ccas52.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
    * 教学班对应上课周数
    */
@ApiModel(value="com-lancoo-ccas52-entity-TeachingClassWeek")
@Data
@Builder
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
public class TeachingClassWeek implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private Long teachingClassId;

    @ApiModelProperty("周次，用字符串表示二进制形式")
    private String week;

    @ApiModelProperty("周学时")
    private Integer weekNum;

    @ApiModelProperty("连上节次")
    private Integer connectSection;

    @ApiModelProperty("连上次数")
    private Integer connectNumber;

    @ApiModelProperty("场地类型 32=2018c语音室, 21=A1智慧教室, 22=传统多媒体教室, 23=云演播室, 24=多媒体智慧教室, 11=云网络教室, 45=智慧操场/体育场所, 46=实验室, 31=普通电脑室")
    private Integer roomType;

    @ApiModelProperty("0:环节  1讲授 2实验 3上机 4其他")
    private Integer hourType;

    @TableField(insertStrategy = FieldStrategy.IGNORED,updateStrategy = FieldStrategy.IGNORED)
    @ApiModelProperty("教学班授课类型指定教室")
    private Long roomId;
}